//
//  RCDCachesManager.h
//  jsy
//
//  Created by 任辰东 on 2021/10/9.
//  Copyright © 2021 JSY. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface RCDCachesManager : NSObject

/**
 获取 CachesManager 单例

 @return 返回 CachesManager 单例对象
 */
+ (RCDCachesManager *)sharedManager;

/**
 清理缓存

 @return 成功返回 YES,否则返回 NO
 */
- (BOOL)clearCaches;

/**
 获取所有缓存文件的大小

 @return 如7.77 MB
 */
- (NSString *)getAllTheCacheFileSize;

@end

NS_ASSUME_NONNULL_END
